filename=`date +%Y%m%d`
 echo $filename

#!/bin/sh
#rm .svn
for loop in $(find -name .svn)
do
rm -rf $loop
done

find . -type d -name ".svn"|xargs rm -rf
或者
find . -type d -iname ".svn" -exec rm -rf {} ";


PS_LIANTONG=`ps -ef | grep java | grep liantong | awk '{print $2}'`
killall -9 nginx
ifconfig |awk '/eth/{print $1,$5}'
mac=`ifconfig |awk '/eth/{print $1, $5}' | awk '{print $2}'`
echo $mac

File=`ls -l | awk '{print $8}'`
let J=0
for i in $File; 
do  
let J=$J+1
echo $J;
cp $i $J.jpg
done


File=`ls -l|grep jpg | awk '{print $8}'`
let J=0
for i in $File; 
do  
convert -resize 200x200 $i ./a/$i
done
